/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.client;

import java.util.Collection;
import java.util.List;

import com.xy.lang.domain.Page;
import com.xy.lang.domain.Result;
import com.xy.biz.ts.domain.resp.GetExaminationQuestionResponse;
import com.xy.biz.ts.domain.req.examinationQuestion.GetExaminationQuestionRequest;
import com.xy.biz.ts.domain.req.examinationQuestion.ListExaminationQuestionRequest;

/**
 *
 *
 * @author wcs
 * @date 2021-3-8
 */
public interface ExaminationQuestionClient {

	/**
	 * 查找一个
	 *
	 * @param request
	 * @return
	 */
	Result<?> getExaminationQuestion(GetExaminationQuestionRequest request);

	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 * @return
	 */
	Result<List<GetExaminationQuestionResponse>> listExaminationQuestionById(Collection<Long> collection);

	/**
	 * 分页查找
	 *
	 * @param request 查找条件
	 * @return
	 */
	Result<Page<GetExaminationQuestionResponse>> pageExaminationQuestion(ListExaminationQuestionRequest request);

}
